SIGN IN SIGN UP

common: add macro for checking whether a value is a power of two

I think I repeated this inline in some places (or maybe not), and some
experimental but discarded code used it. Add it anyway, maybe it'll be
useful. Or it'll give someone a chance to get a contribution into mpv by
removing an unused macro.
W
wm4 committed
56f09fa03da99cc34620c9d3569a3d06e5c95c11
Parent: 4291329