comctl32: Fix error handling in PSM_ADDPAGE in case of memory