Changes to planning system could spell disaster for affordable homes