If planning laws were changed, obsolete offices could be converted into housing to ease Dublin’s rental crisis