Fix broken padding of ROMs with incorrect size specifications