Faced with social media outrage Prakash Raj clarified on X that his comments were only intended as a joke