st/va: make surface allocate functions more usefully