ABI cleanup

Improves some code and removes a bunch of unnecessary code.

Someone should test on Windows.
rsp_alignment is of type size_t, and is usually initialised with 8 or 0.

Subtracting count * 8 is going to leave you with a very large number most of the time.