Issue 11778 - format for null does not verify fmt flags.

https://d.puremagic.com/issues/show_bug.cgi?id=11778

Support `%d` and `%o` for pointer type formatting.