theme: Also support alpha values in blend/shade functions

This doesn't appear to be used currently, but fix it while at it ...