Added hook for potion inventory icons

Allow mods to draw the inventory icon for potions from their own texture without having to bind a texture in `hasStatusIcon` (it's just an ugly hack).
(As kinda discussed on IRC).