libcore: Make a couple of constructors public. rs=testfixing