Malaysia's coast guard will not turn away Rohingya Muslims fleeing violence in Myanmar and is willing to provide them temporary shelter, the maritime agency's chief has said.