DFL64: Partly fix with SetWindowLongPtr/SetClassLongPtr

Replace Set/GetWindowLong() API functions with ***LongPtr() functions to
treat 64bit values, including pointers and resource handles.
Set/GetClassLong() are similer.
This should NOT make any change on user applications in Win32.