mGBA can still load saves from VBA and once you got rid of the last 16 bytes VBA will also load the mGBA save again.
Any hex editor would do, but I recommend HxD https://mh-nexus.de/en/hxd/
Open HxD, drag your file into the window, scroll down to the end, mark the last line and delete it, then save the file.