Fix function alignment

NOPs must be inserted BEFORE the call to getCodeSize().