popcnt: codestyle cleanup, calling convention fix

On Win32, correctly use the D calling convention.
Also, use naked and consider fastcall things.