mkerr: remove legacy guards from generated error headers