Stack trace: use popcount function instead of inline loop
Stack trace: use popcount function instead of inline loop

mgba-emu/mgba,libretro/mgba,mgba-emu/mgba,Iniquitatis/mgba,Iniquitatis/mgba,mgba-emu/mgba,Iniquitatis/mgba,libretro/mgba,libretro/mgba,libretro/mgba,libretro/mgba,mgba-emu/mgba,Iniquitatis/mgba