Kernel configurations are compiled in. You can check to see if it's configured by running this:
grep CONFIG_PM_ADVANCED_DEBUG /boot/config-`uname -r`
On mine, I see:
oli@bert:~$ grep CONFIG_PM_ADVANCED_DEBUG /boot/config-`uname -r`
# CONFIG_PM_ADVANCED_DEBUG is not set
I compile my own kernels but my config is derived from Ubuntu's. It's worth checking to see if it's been added since I started compiling.
If you want to recompile the kernel to enable this flag, your best starting point is here: https://help.ubuntu.com/community/Kernel/Compile
It's a bit of effort. You need a few packages and on a fast computer it takes at least 20 minutes just to do the compile. Add in configuration time and that you have to do this every time a security update comes out... It might not be worth it.