Malaysia can buffer external shocks, says Johari