VAT-572 Remove Print and Email Invoice button for Cancelled contribution...

... status from view contribution and User Dashboard.
This is a not a right way to check if contribution status = Cancelled. The above line will always return TRUE even if the contribution status <> Cancelled.