Fixes reading EMBL sizes in some files and makes this function readable while at it. Would be good to inline mp_log2(), but should be good enough. Fixes: #15691